Components.js: Semantic dependency injection
نویسندگان
چکیده
A common practice within object-oriented software is using composition to realize complex object behavior in a reusable way. Such compositions can be managed by Dependency Injection (DI), popular technique which components only depend on minimal interfaces and have their concrete dependencies passed into them. Instead of requiring program code, this separation enables describing the desired instantiations declarative configuration files, such that objects wired together automatically at runtime. Configurations for existing DI frameworks typically local semantics, limits usage other contexts. Yet some cases require configurations outside scope, as reproducibility experiments, static analysis, semantic workflows. As such, there need globally interoperable, addressable, discoverable configurations, achieved leveraging Linked Data. We created Components.js an open-source framework TypeScript JavaScript applications, providing global semantics via Data-based files. In article, we report explaining its architecture configuration, discuss impact mentioning where how applications use it. show stable has seen significant uptake during last couple years. recommend it projects high flexibility, without code changes, sharing with others, or applying these contexts experimentation analysis. anticipate will continue driving research development degrees customization facilitate testing, including Comunica query engine Community Solid Server decentralized data publication.
منابع مشابه
Rivet: Dependency Injection in Rust
1 SUMMARY Rust’s strict compile-time semantics make approaches that are often straightforward in other modern languages significantly more difficult or less intuitive. Rust’s concepts of ownership and data lifetimes, along with its limited runtime reflection support constrain users hoping to design loosely coupled and pluggable applications. We explored various approaches to the strategy patter...
متن کاملProgram Optimisation with Dependency Injection
For many real-world problems, there exist non-deterministic heuristics which generate valid but possibly sub-optimal solutions. The program optimisation with dependency injection method, introduced here, allows such a heuristic to be placed under evolutionary control, allowing search for the optimum. Essentially, the heuristic is “fooled” into using a genome, supplied by a genetic algorithm, in...
متن کاملIntracerebroventricular Injection of Histamine Induces State-Dependency through H1 Receptors
The aim of the present study was to investigate whether and by which mechanism; histamine can induce state-dependent retrieval of passive avoidance task. The pre-training or pre-test intracerebroventricular (i.c.v.) injection of histamine (20µg/mouse) impaired retrieval, when it was tested 24 h later. In the animals, which retrieval was impaired due to histamine pre-training administration, pre...
متن کاملIntracerebroventricular Injection of Histamine Induces State-Dependency through H1 Receptors
The aim of the present study was to investigate whether and by which mechanism; histamine can induce state-dependent retrieval of passive avoidance task. The pre-training or pre-test intracerebroventricular (i.c.v.) injection of histamine (20µg/mouse) impaired retrieval, when it was tested 24 h later. In the animals, which retrieval was impaired due to histamine pre-training administration, pre...
متن کاملTransaction Dependency Graph Construction using Signal Injection
Understanding the runtime behavior and dependencies between components in complex transaction-based enterprise systems enables the system administrators to identify performance bottlenecks, allocate resources, and detect failures. This paper introduces a novel method for extracting dependency information between system components at runtime by using delay injection on individual links and Fast ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Semantic web
سال: 2022
ISSN: ['2210-4968', '1570-0844']
DOI: https://doi.org/10.3233/sw-222945